#include <stdio.h>

int main(int argc, char *argv[])
{
	unsigned long int y;
	scanf("%d", &y);

	if ((y%400 == 0) || ((y%4==0) && (y%100!=0))) {
		printf("TRUE\n");
	} else {
		printf("FALSE\n");
	}

	return 0;
}
